package com.wudizaba.nb.service.serviceImpl;


import com.wudizaba.nb.kafkaProvider.provider;
import com.wudizaba.nb.service.kafkaProviderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class kafkaProviderServiceImpl implements kafkaProviderService {

    @Resource
    private provider provider ;

    @Override
    public void sendMessage() {
        String Message = "Hello Kafka";
        provider.sendMessage(Message);
    }
}
